package com.ayq.activiti.manager.feign;

import com.ayq.activiti.common.util.Ret;
import com.ayq.activiti.manager.dto.ActivitiManagerDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "流程管理服务")
@RestController
@FeignClient(value = "activiti-manager", path = "/activiti-manager")
public interface ActivitiManagerFeignClient {

    @PostMapping("/addActivitiManager")
    @ApiOperation(value = "绑定流程,生成审核人分配表", notes = "绑定流程，生成审核人分配表")
    Ret addActivitiManager(ActivitiManagerDTO activitiManagerDTO);
}
